<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <title>搜索 - {$system['webname']}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="{$system['keywords']}" />
    <meta name="description" content="{$system['description']}" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <link href="__INDEX__/style/lady.css" type="text/css" rel="stylesheet" />
    <script type='text/javascript' src='__INDEX__/style/ismobile.js'></script>
</head>

<body>

    {include file="common/header" /}

    <!--顶部通栏-->

    <div class="position">
        <a href="{:url('index/index')}">主页</a> > 
        搜索：<span style="color:#f00; font-weight:bold;">{$keywords}</span>
    </div>

    <div class="overall">

        <div class="left">

            {volist name="search" id="vo"}
            <div class="xnews2">
                <div class="pic">
                    <a target="_blank" href="{:url('article/index',array('id'=>$vo['id']))}">
                        
                        {if condition="$vo['pic'] neq '' "}
                        <img src="__STATIC__{$vo.pic}" alt="{$vo['title']}" />
                        {else /}
                        <img src="__INDEX__/images/default.jpg" alt="{$vo['title']}" />
                        {/if}
                        
                    </a>
                </div>
                <div class="dec">
                    <h3>
                        <a target="_blank" href="{:url('article/index',array('article_id'=>$vo['id']))}">{$vo.title}</a>
                    </h3>
                    <div class="time">发布时间：{$vo.addtime|date="Y-m-d H:i:s",###}</div>
                    <p>{$vo.desc}</p>
                    <div class="time"> 

                        <?php
                            $arr=explode(',', $vo['keywords']);
                            foreach ($arr as $k=>$v) {
                                echo "<a href='$site_url$v'>$v</a>";
                            }
                        ?>

                    </div>
                </div>
            </div>
            {/volist}

            <div class="pages">
                <div class="plist">
                    {$search->render()}
                </div>
            </div>
        </div>

        {include file="common/right" /}

    </div>
    
    {include file="common/footer" /}

    <div style="display:none;">
        <script src='goto/my-65537.js' language='javascript'></script>
        <script src="images/js/count_zixun.js" language="JavaScript"></script>
    </div>

</body>

</html>